[INFO] fetching crate archivelib 0.2.0... [INFO] checking archivelib-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate archivelib 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate archivelib 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate archivelib 0.2.0 [INFO] finished tweaking crates.io crate archivelib 0.2.0 [INFO] tweaked toml for crates.io crate archivelib 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate archivelib 0.2.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a3437b6723436614ed9002f69540409333fabd5a8a115651561c763bbd469f0 [INFO] running `Command { std: "docker" "start" "-a" "2a3437b6723436614ed9002f69540409333fabd5a8a115651561c763bbd469f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a3437b6723436614ed9002f69540409333fabd5a8a115651561c763bbd469f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3437b6723436614ed9002f69540409333fabd5a8a115651561c763bbd469f0", kill_on_drop: false }` [INFO] [stdout] 2a3437b6723436614ed9002f69540409333fabd5a8a115651561c763bbd469f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a10b94b67623f7e3c5de3e8037d06712205178296c4673b23f2732f2d92dbfeb [INFO] running `Command { std: "docker" "start" "-a" "a10b94b67623f7e3c5de3e8037d06712205178296c4673b23f2732f2d92dbfeb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking archivelib v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling which v2.0.1 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | implBitwise!(u8); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | implBitwise!(u16); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | implBitwise!(u32); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | implBitwise!(u64); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | implBitwise!(u128); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | implBitwise!(usize); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LookAheadBitwiseRead` and `LookAheadBitwiseReader` [INFO] [stdout] --> src/support/lah_reader/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::base::{LookAheadBitwiseRead, LookAheadBitwiseReader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryTreeInvariantError` [INFO] [stdout] --> src/expand_new/expand.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::errors::{BinaryTreeInvariantError, DecompressError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[s + max_size279] = self.uncompressed_buffer[(s)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:80 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[s] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-afl` [INFO] [stdout] --> src/support/debug.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "fuzz-afl", feature = "fuzz-hfuzz"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-afl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-hfuzz` [INFO] [stdout] --> src/support/debug.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "fuzz-afl", feature = "fuzz-hfuzz"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-hfuzz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-afl` [INFO] [stdout] --> src/support/debug.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(feature = "fuzz-afl"), not(feature = "fuzz-hfuzz")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-afl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-hfuzz` [INFO] [stdout] --> src/support/debug.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(feature = "fuzz-afl"), not(feature = "fuzz-hfuzz")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-hfuzz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/fn230.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] 35 + lookup_table288[i + 1] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/consts.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] 10 + pub const CONST_N145_IS_19: usize = u16::max_value().count_ones() as usize + 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/compress/array_alias.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ArrayAlias

{ [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn apply(&mut self, parent: &mut P, index: usize, apply: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CompressError` [INFO] [stdout] 3 | pub enum CompressError { [INFO] [stdout] | ------------- `CompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CompressError` [INFO] [stdout] 3 | pub enum CompressError { [INFO] [stdout] | ------------- `CompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> src/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecompressError` [INFO] [stdout] 39 | pub enum DecompressError { [INFO] [stdout] | --------------- `DecompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> src/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecompressError` [INFO] [stdout] 39 | pub enum DecompressError { [INFO] [stdout] | --------------- `DecompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking humthreads v0.1.4 [INFO] [stderr] Compiling archivelib-sys v0.2.0 [INFO] [stdout] warning: unused import: `do_decompress_level` [INFO] [stdout] --> benches/bench.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use archivelib::{do_compress_level, do_decompress_level, CompressionLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `humthreads::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/hangs.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | let thread = humthreads::Builder::new("test thread").spawn( move |_| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | let result = thread.join_timeout(TEST_TIMEOUT); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Err(e) => match e.kind() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `archivelib` (test "hangs") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | implBitwise!(u8); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | implBitwise!(u16); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | implBitwise!(u32); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | implBitwise!(u64); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | implBitwise!(u128); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/support/bit_iter.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | <(Self)>::max_value().count_ones() as usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | implBitwise!(usize); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implBitwise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryTreeInvariantError` [INFO] [stdout] --> src/expand_new/expand.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::errors::{BinaryTreeInvariantError, DecompressError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[s + max_size279] = self.uncompressed_buffer[(s)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/compress.rs:122:80 [INFO] [stdout] | [INFO] [stdout] 122 | self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 122 - self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[(s)] [INFO] [stdout] 122 + self.uncompressed_buffer[(s + max_size279)] = self.uncompressed_buffer[s] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-afl` [INFO] [stdout] --> src/support/debug.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "fuzz-afl", feature = "fuzz-hfuzz"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-afl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-hfuzz` [INFO] [stdout] --> src/support/debug.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "fuzz-afl", feature = "fuzz-hfuzz"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-hfuzz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-afl` [INFO] [stdout] --> src/support/debug.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(feature = "fuzz-afl"), not(feature = "fuzz-hfuzz")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-afl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzz-hfuzz` [INFO] [stdout] --> src/support/debug.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(all(not(feature = "fuzz-afl"), not(feature = "fuzz-hfuzz")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compress/fn228/part_one.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pending_test!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `archivelib-sys`, `default`, `new_impl`, and `sys` [INFO] [stdout] = help: consider adding `fuzz-hfuzz` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `pending_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/compress/fn230.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - lookup_table288[(i + 1)] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] 35 + lookup_table288[i + 1] = ((lookup_table288[i] + dat_arr167[i]) << 1) as u16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/consts.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub const CONST_N145_IS_19: usize = (u16::max_value().count_ones() as usize + 3); [INFO] [stdout] 10 + pub const CONST_N145_IS_19: usize = u16::max_value().count_ones() as usize + 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/compress/array_alias.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ArrayAlias

{ [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn apply(&mut self, parent: &mut P, index: usize, apply: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/test/expand_new.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let base_iter = $base.into_iter(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | / adversarial! { [INFO] [stdout] 38 | | simple(0, [0x00_u8, 0x00, 0x01, 0x01], 1); [INFO] [stdout] 39 | | simple_long(0, [0x00_u8, 0x00, 0x01, 0x01], 1024); [INFO] [stdout] 40 | | simple_really_long(0, (0..128), 1024); [INFO] [stdout] 41 | | simple_really_really_long(0, (0..=255), 1024); [INFO] [stdout] 42 | | repetitive(0, vec![1; 50], 1024); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adversarial` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 15 | let base_iter = $base.iter(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 15 | let base_iter = IntoIterator::into_iter($base.into_iter()); [INFO] [stdout] | ++++++++++++++++++++++++ + [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] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_CompressError` [INFO] [stdout] 3 | pub enum CompressError { [INFO] [stdout] | ------------- `CompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_CompressError` [INFO] [stdout] 3 | pub enum CompressError { [INFO] [stdout] | ------------- `CompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> src/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecompressError` [INFO] [stdout] 39 | pub enum DecompressError { [INFO] [stdout] | --------------- `DecompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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] --> src/errors.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecompressError` [INFO] [stdout] 39 | pub enum DecompressError { [INFO] [stdout] | --------------- `DecompressError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a10b94b67623f7e3c5de3e8037d06712205178296c4673b23f2732f2d92dbfeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a10b94b67623f7e3c5de3e8037d06712205178296c4673b23f2732f2d92dbfeb", kill_on_drop: false }` [INFO] [stdout] a10b94b67623f7e3c5de3e8037d06712205178296c4673b23f2732f2d92dbfeb