[INFO] fetching crate archivelib 0.2.0... [INFO] checking archivelib-0.2.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate archivelib 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate archivelib 0.2.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "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-tc1/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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded failure_derive v0.1.5 [INFO] [stderr] Downloaded failure v0.1.5 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded atty v0.2.13 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded wincolor v1.0.2 [INFO] [stderr] Downloaded termcolor v1.0.5 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded aho-corasick v0.7.6 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded regex v1.3.1 [INFO] [stderr] Downloaded bindgen v0.51.0 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded jobserver v0.1.17 [INFO] [stderr] Downloaded cc v1.0.45 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded backtrace v0.3.37 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.3 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded humthreads v0.1.4 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded archivelib-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2587e31c9d23b16c614fe716b8a68c2b3bf858629626694dc4d3715a9f728c3 [INFO] running `Command { std: "docker" "start" "-a" "c2587e31c9d23b16c614fe716b8a68c2b3bf858629626694dc4d3715a9f728c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2587e31c9d23b16c614fe716b8a68c2b3bf858629626694dc4d3715a9f728c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2587e31c9d23b16c614fe716b8a68c2b3bf858629626694dc4d3715a9f728c3", kill_on_drop: false }` [INFO] [stdout] c2587e31c9d23b16c614fe716b8a68c2b3bf858629626694dc4d3715a9f728c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a91638a5e99ff04b75a0d33477d8849c7edbbbf6d2b296c9859e8748a30a93e [INFO] running `Command { std: "docker" "start" "-a" "1a91638a5e99ff04b75a0d33477d8849c7edbbbf6d2b296c9859e8748a30a93e", 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 lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bindgen v0.51.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling clang-sys v0.28.1 [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] Compiling serde v1.0.101 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [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 clap v2.33.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking c2-chacha v0.2.2 [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 backtrace v0.3.37 [INFO] [stderr] Compiling regex v1.3.1 [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] warning: 1 warning emitted [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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.5, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1a91638a5e99ff04b75a0d33477d8849c7edbbbf6d2b296c9859e8748a30a93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a91638a5e99ff04b75a0d33477d8849c7edbbbf6d2b296c9859e8748a30a93e", kill_on_drop: false }` [INFO] [stdout] 1a91638a5e99ff04b75a0d33477d8849c7edbbbf6d2b296c9859e8748a30a93e